package com.packet.cheng.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author 张在成
 * 抢到红包记录表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "用户抢红包信息")
public class RedPacketReocrdVo {

        /**
         * 红包id
         */
        @ApiModelProperty(value = "红包id")
        private  Integer redPacketId;

        /**
         * 红包类型
         */
        @ApiModelProperty(value = "红包类型")
        private  Integer  type;

        /**
         * 发红包的用户id
         */
        @ApiModelProperty(value = "发红包的用户id")
        private  Integer sendUserId;

        /**
         * 发红包的用户名字
         */
        @ApiModelProperty(value = "发红包的用户名字")
        private  String sendUserName;

        /**
         *
         */
        @ApiModelProperty(value = "当前登录用户id")
        private  Integer receiveUserId;

        /**
         * 用户抢到的金额
         */
        @ApiModelProperty(value = "当前登录用户领取的金额，单位：元")
        private  BigDecimal  receiveAmount;

        /**
         * 红包祝福语
         */
        @ApiModelProperty(value = "红包祝福语")
        private String blessing;

        /**
         * 红包封面
         */
        @ApiModelProperty(value = "红包封面")
        private  String cover;

}
